package com.test.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.test.entity.dto.Type;
import com.test.mapper.TypeMapper;
import com.test.service.TypeService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TypeServiceImpl extends ServiceImpl<TypeMapper, Type> implements TypeService {
    @Override
    public List<Type> getTypeList() {

        return baseMapper.selectList(null);
    }
}
